﻿@using ETD.Common.Extension;
@using ETD.WebOrganization.Libs.Helper;
@using ETD.WinClient.Config;
@using ETD.Domain.EnumModels;
@using ETD.Domain.WebModels;
@using ETD.Common;
@model ETD.WebOrganization.Areas.Web.Models.FinancialIndexModel
<style>
    .hospital_title {
        margin-top: 20px;
    }

    .weui-btn_primary {
        background-color: #4dd1c1;
        width: 300px;
    }

    .weui-btn-area {
        margin-top: 50px;
    }

    .financial_menu_item_list {
        margin-top: 0px;
    }

    .financial_menu_item {
        padding: 14px 15px;
    }
</style>
<div class="">

    @Html.PartialAreasWeb("Home/Controls/_MoneySummary", Model.MoneySummary)
    <div class="weui-cells financial_menu_item_list">
        <a class="weui-cell weui-cell_access financial_menu_item" href="@Url.ActionTS("IncomeEveryDayList","Financial")">
            <div class="weui-cell__hd"><img src="@Url.MapMvcAssets("images/icon_shouyi.png")" alt="" style="width:30px;margin-right:5px;display:block"></div>
            <div class="weui-cell__bd">
                <p>收益明细</p>
            </div>
            <div class="weui-cell__ft"></div>
        </a>
        <a style="display:none;" class="weui-cell weui-cell_access financial_menu_item" href="@Url.ActionTS("SettlementManage","Financial")">
            <div class="weui-cell__hd"><img src="@Url.MapMvcAssets("images/icon_record.png")" alt="" style="width:28px;margin-right:7px;display:block"></div>
            <div class="weui-cell__bd">
                <p>结算记录</p>
            </div>
            <div class="weui-cell__ft"></div>
        </a>
    </div>

    <div class="weui-btn-area" style="display:none;">
        <a class="weui-btn weui-btn_primary" href="javascript:" id="btnSettlement">结算</a>
    </div>

</div>
@section ScriptSection{
    <script>
        $(function () {
            PageObj.init();
        });
        var PageObj = {};
        PageObj.init = function () {
            $("#btnSettlement").click(PageObj.onBtnSettlementClick);
        };
        PageObj.onBtnSettlementClick = function () {
            WinHelper.redirect("@Url.Action("SettlementEdit", "Financial")");
        };
    </script>
}